<?php
/* @var $this SmsmarketController */
/* @var $model Smsmarket */

$this->breadcrumbs=array(
	'Smsmarkets'=>array('index'),
	'Manage',
);

$this->menu=array(
	array('label'=>'List Smsmarket', 'url'=>array('index')),
	array('label'=>'Create Smsmarket', 'url'=>array('create')),
);

 
?>

<h1>Manage Smsmarkets</h1> 

<?php $this->widget('zii.widgets.grid.CGridView', array(
	'id'=>'smsmarket-grid',
	'dataProvider'=>$model->search(),
	//'filter'=>$model,
	'enableHistory'=>true,
    'template'=>"{items}{summary}{pager}",
    'summaryText'=>'每页显示10条,共{count}条',
    'summaryCssClass'=>'summaryinfo',
    'emptyText'=>'没有数据',
    'itemsCssClass'=>'itemsinfo',
    'pager'=>array(
        'class'=>'CLinkPager',
        'header'=>'',
        'nextPageLabel'=>'下一页',
        'prevPageLabel'=>'上一页',
        'firstPageLabel'=>'首页',
        'lastPageLabel'=>'尾页', 
        ),
	'columns'=>array(
		'id',
		'companyid',
		'oldsendstatus',
		'newusers',
		'oldusers',
		array(
			'class'=>'CButtonColumn',
		),
	),
)); ?>
